<?php
/**
 * Created by PhpStorm.
 * User: 47474
 * Date: 2021/12/11
 * Time: 15:50
 */

$newfile = '../img/'.$_FILES['file']['name'];
move_uploaded_file($_FILES['file']['tmp_name'],$newfile);
header('location:userinfo.php?log='.$_FILES['file']['name']);
